import request from '@/utils/request'

// 查询物业缴费记录 列表
export function listCommunityMonthFee(query) {
  return request({
    url: '/system/communityMonthFee/list',
    method: 'get',
    params: query
  })
}

// 查询物业缴费记录 详细
export function getCommunityMonthFee(id) {
  return request({
    url: '/system/communityMonthFee/' + id,
    method: 'get'
  })
}

// 新增物业缴费记录 
export function addCommunityMonthFee(data) {
  return request({
    url: '/system/communityMonthFee',
    method: 'post',
    data: data
  })
}

// 修改物业缴费记录 
export function updateCommunityMonthFee(data) {
  return request({
    url: '/system/communityMonthFee',
    method: 'put',
    data: data
  })
}

// 删除物业缴费记录 
export function delCommunityMonthFee(id) {
  return request({
    url: '/system/communityMonthFee/' + id,
    method: 'delete'
  })
}

// 导出物业缴费记录 
export function exportCommunityMonthFee(query) {
  return request({
    url: '/system/communityMonthFee/export',
    method: 'get',
    params: query
  })
}